<%--
  Created by IntelliJ IDEA.
  User: dengdc
  Date: 2017/7/21
  Time: 10:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="http://www.springframework.org/tags" %>
<html>
<head>
    <title>在线工具</title>
    <jsp:include page="../../head.jsp"/>
    <script type="text/javascript">
        function refreshMybatisMapper(){
            $.ajax({
                url:"<s:url value='/web/utils/refreshMybatisMapper'/>",
                method:'post',
                dataType:'json',
                success:function(data){
                    alert(data);
                }
            });
        }

        function reloadProtocolUnite(){
            $.ajax({
                       url:"<s:url value='/web/utils/reloadProtocolUnite'/>",
                       method:'post',
                       dataType:'json',
                       success:function(data){
                           alert(data);
                       }
                   });
        }
    </script>
</head>
<body>
    <input value="刷新Mybatis Mapper xml文件" type="button" onclick="refreshMybatisMapper();"/>
    <br/>
    <input value="刷新报价" type="button" onclick="reloadProtocolUnite();"/>
</body>
</html>
